package cn.im.qywx.dao;

import cn.im.qywx.model.MeetingRoom;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MeetingRoomDao extends JpaRepository<MeetingRoom,Long> {


    /**
     * 获取会议室列表
     */
    public List<MeetingRoom> getMeetingRoomByEnableOrderById(Integer enable);


    public MeetingRoom findByIdAndEnable(Long id,Integer enable);
}
